<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>知识库</title>
    <!-- 页面meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
    <link rel="stylesheet" href="../plugins/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="../plugins/adminLTE/css/AdminLTE.css">
    <link rel="stylesheet" href="../plugins/adminLTE/css/skins/_all-skins.min.css">
    <link rel="stylesheet" href="../css/style.css">
    <script src="../plugins/jQuery/jquery-2.2.3.min.js"></script>
    <script src="../plugins/bootstrap/js/bootstrap.min.js"></script>
    <script src="../js/vuejs-2.5.16.js"></script>
    <script src="../js/axios-0.18.0.js"></script>
    <style>
        div {
            font-size: 16px;
        }

        img {
            width: 90%;
        }

        div {
            list-style: none;
            font-size: 20px;
            word-wrap: break-word;
            word-break: normal;
            width: 1200px
        }
    </style>
</head>
<body class="hold-transition skin-red sidebar-mini">
<div id="app">
    <div class="tab-content">

        <!--表单内容-->
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="page-header">
                        <h1>{{entity.title}}
                            <small>&nbsp;&nbsp;<a :href="'content_edit.html?id='+entity.id"
                                                  class="btn btn-success">编辑</a></small>
                            <small>&nbsp;&nbsp;<button onclick="javascript:history.back(-1);" class="btn btn-default">返回</button></small>
                        </h1>
                        <small>
                            {{formatDate(entity.createTime)}}
                        </small>
                    </div>
                </div>
                <div class="col-md-12">
                    <div v-html="entity.article"></div>
                </div>
            </div>
        </div>

    </div>

</div>
<script src="../js/controller/article.js"></script>
</body>
</html>